How AI is Enhancing Cybersecurity Measures